﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Library/Reportes.master" AutoEventWireup="false"
    CodeFile="RDLReportes.aspx.vb" Inherits="Reportes_RPTEdXNivelED" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .AlineacionDerecha
        {
            text-align: right;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:ScriptManager 
            ID="ScriptManager1" runat="server">
        </asp:ScriptManager> 
        <h1>
            CONSULTA DE REPORTES<asp:HiddenField 
                ID="hdStoredProcedure" runat="server" />
            <asp:HiddenField ID="hdReporteName" runat="server" />
    </h1>
    (Para generar y exportar los reportes se recomienda usar 
    <a href="http://windows.microsoft.com/es-ES/internet-explorer/products/ie/home">Internet Explorer</a> 
    o 
    <a href="http://www.mozilla.com/es-ES/firefox/">firefox</a>)
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate >

    <table>
        <tr>
            <th colspan="6">
                Opciones de filtro
            </th>
        </tr>
        <tr>
            <td>
                Proyecto
            </td>
            <td>
                <asp:DropDownList ID="ddlProyectos" runat="server" AutoPostBack="true" >
                </asp:DropDownList>
            </td>
         <td>
                Visita
            </td>
            <td>
                <asp:DropDownList ID="ddlVisita" runat="server">
                </asp:DropDownList>
            </td>
        
        <td></td>
        <td></td>
        </tr>
        <tr>
            <td>
                Departamento
            </td>
            <td>
                <asp:DropDownList ID="ddlDepto" runat="server" AutoPostBack="true">
                </asp:DropDownList>
            </td>
            <td>
                Municipio
            </td>
            <td>
                <asp:DropDownList ID="ddlMunicipio" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                Localizacion
            </td>
            <td>
                <asp:DropDownList ID="ddlLocalizacion" runat="server">
                </asp:DropDownList>
            </td>
        </tr>

     </table>
    </ContentTemplate>
    </asp:UpdatePanel>
    <table>        
        <tr>
            <td colspan="2" class="botones">
                <asp:Button ID="btnConsultar" runat="server" Text="Ver reporte" CssClass="boton" />
            </td>
        </tr>
    </table>
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" CssClass="tablaneutra" 
        Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
        WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" 
        SizeToReportContent="True">
        <LocalReport ReportPath="Reportes\rdls\hogaresSampledlc.rdlc">
        </LocalReport>
    </rsweb:ReportViewer>
    

</asp:Content>
